<template>
  <div v-if="$store.state.router.thisNav.length>1" class="headSonNav-box">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: item.path }" v-for="(item,index) of $store.state.router.thisNav" :key="index">{{item.name}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>
<style scoped>
.headSonNav-box {
  width: 100%;
  height: auto;
  text-align: left;
  margin-bottom: 16px;
  padding-left: 36px;
}
</style>
